package com.cloud.model.view.comsumepie;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;

/**
 * 消费统计饼图视图
 */
public class ComsumePieView {
    @ApiModelProperty(name = "当前分类所占金额")
    private Long value;

    @ApiModelProperty(value = "名称")
    private String name;

    public ComsumePieView(Long value, String name) {
        this.value = value;
        this.name = name;
    }

    public ComsumePieView() {
    }

    public Long getValue() {
        return value;
    }

    public void setValue(Long value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
